package Demo1;

import Demo3.TestDemo;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 34255
 * Date: 2024-05-15
 * Time: 20:59
 */
public class Test extends TestDemo {
    public static void main(String[] args) {
        Cat cat1 = new Cat("大黄",4,"雄性");
        System.out.println(cat1.toString());
        Dog dog = new Dog("小灰",5,"雌性");
        System.out.println(dog.toString());
//        TestDemo test = new TestDemo();
//        System.out.println(test.a);
    }
}
